package com.example.helloworld;

import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.widget.ArrayAdapter;

public class ListView3 extends Activity {

	private String[] items = {"mike", "angel", "crow", "john", "ginnie", "sally", "cohen", "rice"};
	private android.widget.ListView mListView;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_list_view3);
		
		mListView =	(android.widget.ListView)findViewById(R.id.lst_sample);
		mListView.setAdapter(new ArrayAdapter<String>(
				this,
				android.R.layout.simple_list_item_1,
				items));
	}

}
